#include <stdio.h>
#define FUNDLEN 50
struct funds{
    char bank[FUNDLEN];
    double bankfund;
    char save[FUNDLEN];
    double savefund;
};

double sum(double, double);
int main(void)
{
    struct funds stan = {"Farlic-Melon Bank", 3024.72, "Lucky's savings and loan", 9237.11};
    printf("Stan has a total of $%.2f.\n", sum(stan.bankfund, stan.savefund));
    return 0;
}

double sum(double x, double y)
{
    return (x + y);
}
